package com.anthonybennis.blender.client;

import com.google.gwt.user.client.Window;

/**
 * 
 * @author abennis
 */
public class System 
{
	public enum SCREEN_WIDTHS {SMALL_WIDTH, STANDARD_WIDTH};
	
	/**
	 * 
	 * @return
	 */
	public static SCREEN_WIDTHS getScreenWidth()
	{
		SCREEN_WIDTHS width = SCREEN_WIDTHS.STANDARD_WIDTH;
		
		if (Window.getClientWidth() < 700)
		{
			width = SCREEN_WIDTHS.SMALL_WIDTH;
		}
		
		return width;
	}
}
